package com.blq.system.mapper;

import com.blq.common.core.mapper.BaseMapperPlus;
import com.blq.system.domain.SysNotice;
import org.apache.ibatis.annotations.Param;

import javax.xml.crypto.Data;
import java.util.Date;
import java.util.List;

/**
 * 通知公告表 数据层
 *
 * @author Blq
 */
public interface SysNoticeMapper extends BaseMapperPlus<SysNoticeMapper, SysNotice, SysNotice> {
    /**
     * @Description 接口描述 :
     * @Params  * @param null
     * @Return 修改阅读状态
     * @Author xiaw
     * @Date 2023/2/1 11:20
     */
    void updateBycustomerKeyUpdateUser(@Param("customerKey") String customerKey
            ,@Param("data")  String data);
    /**
     * @Description 接口描述 :
     * @Params  * @param null
     * @Return 修改阅读状态
     * @Author xiaw
     * @Date 2023/2/1 11:20
     */
    void updateBycustomerKeyUpdateFinance(@Param("customerKey") String customerKey
            ,@Param("data")  String data);
    /**
     * @Description 接口描述 :
     * @Params  * @param null
     * @Return 修改阅读状态
     * @Author xiaw
     * @Date 2023/2/1 11:20
     */
    void updateBycustomerKeyUpdatePrincipal(@Param("customerKey") String customerKey
            ,@Param("data")  String data);
    /**
     * @Description 接口描述 :
     * @Params  * @param null
     * @Return 修改阅读状态
     * @Author xiaw
     * @Date 2023/2/1 11:20
     */
    void updateBycustomerKeyUpdateWorker(@Param("customerKey") String customerKey
            ,@Param("data")  String data);
    //施工人员
    List<SysNotice> selectByloginmanId(@Param("loginmanId")String loginmanId,
                                       @Param("aLong")Long aLong);
    List<SysNotice> selectByloginmanIdAudit(@Param("loginmanId")String loginmanId,
                                       @Param("aLong")Long aLong);

    List<SysNotice> selectNoticeByUserId(@Param("userId") String userId);
}
